/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.rh.game;

import com.rh.game.chat.Chat;

import com.rh.gui.RenderEvent;

import java.util.List;

/**
 *
 * @author Hayden
 */
public class EventsAndChat {
    public static final EventsAndChat NULL = new EventsAndChat(RenderEvent.EMPTY_LIST, Chat.NULL);
    
    private List<RenderEvent> events = RenderEvent.EMPTY_LIST;
    public List<RenderEvent> getEvents()  {
        return events;
    }
    
    private Chat chat = null;
    public Chat getChat()  {
        return chat;
    }
    
    public EventsAndChat(List<RenderEvent> pEvents, Chat pChat)  {
        super();
        events = pEvents;
        chat = pChat;
    }
    
    public String toString()  {
        if (this == NULL)  return "NULL";
        return super.toString();
    }
}
